package chen.yi.mapper.po;

import chen.yi.component.data.desensitization.annotation.SensitiveData;
import chen.yi.component.data.desensitization.annotation.SensitiveField;
import chen.yi.mapper.base.BasePO;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * 用户po
 * @author huat
 **/
@TableName(value = "system_user_info")
@Setter
@Getter
@ToString
@SensitiveData
public class UserInfoPO extends BasePO {
    /**
     * 用户名
     */
    private String username;
    /**
     * 密码
     */
    private String password;
    /**
     * 真实姓名
     */
    private String realName;
    /**
     * 手机号
     */
    @SensitiveField
    private String phoneNumber;
    /**
     * 加密后的手机号
     */
    private String encryptionPhone;
    /**
     * 邮箱
     */
    private String mail;
}
